package com.ztgf.commodity.models.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ztgf.common.annotations.CustomerBigDecimalSerialize;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * author: chenyu.wang
 * date: 2020-05-28 16:16
 * Description:卖家商品详情销售信息规格vo
 */
@Data
public class CommoditySpecifitionInfoVO implements Serializable {


    @ApiModelProperty(value = "属性名称")
    private String atrrName;
    @ApiModelProperty(value = "单价 不填，询价")
    @JsonSerialize(using = CustomerBigDecimalSerialize.class)
    private BigDecimal price;
    @ApiModelProperty(value = "批发价 不填，询价")
    @JsonSerialize(using = CustomerBigDecimalSerialize.class)
    private BigDecimal wholesalePrice;
    @ApiModelProperty(value = "库存")
    private Integer inventoryNumber;
    @ApiModelProperty(value = "尺寸 长*宽*高")
    private String commoditySize;
    @ApiModelProperty(value = "尺寸单位 0毫米、1厘米、2米")
    private Integer commoditySizeUnit;
    @ApiModelProperty(value = "商品单位")
    private Integer commodityUnit;
    @ApiModelProperty(value = "起批数量")
    private Integer batchNumber;
    @ApiModelProperty(value = "规格id")
    private Long specificationsId;
}
